#!/bin/bash
source "$METIS_HOME"metis.config


(
	flock 200
	count=`cat "$scanCounter"`
	count=$((count+1))
	echo $count > "$scanCounter"

	total=`cat "$targetList" | wc -l`

	echo -en "\rCompleted scans for: ${count}/${total}"

) 200>"$tempDir"lock.file
